import request from '@/utils/request'

export function toDoImplement(data) {
  return request({
    url: 'api/queue/toDoImplement',
    method: 'post',
    data
  })
}

export function toDoListRemove(data) {
  return request({
    url: 'api/queue/toDoListRemove',
    method: 'post',
    data
  })
}

export function toDoRemove(data) {
  return request({
    url: 'api/queue/toDoRemove',
    method: 'post',
    data
  })
}

export function toRunImplement(data) {
  return request({
    url: 'api/queue/toRunImplement',
    method: 'post',
    data
  })
}

export function toRunTop(data) {
  return request({
    url: 'api/queue/toRunTop',
    method: 'post',
    data
  })
}

export function toRunRemove(data) {
  return request({
    url: 'api/queue/toRunRemove',
    method: 'post',
    data
  })
}

export function toRunSort(data) {
  return request({
    url: 'api/queue/toRunSort',
    method: 'post',
    data: data
  })
}

export function runningKillTaskProcess(data) {
  return request({
    url: 'api/queue/runningKillTaskProcess',
    method: 'post',
    data: data
  })
}

export function runningKillTaskListProcess(data) {
  return request({
    url: 'api/queue/runningKillTaskListProcess',
    method: 'post',
    data: data
  })
}

export function toRunListRemove(data) {
  return request({
    url: 'api/queue/toRunListRemove',
    method: 'post',
    data
  })
}
export default { toDoImplement, toDoRemove, toRunImplement, toRunRemove, toRunTop, toRunSort, runningKillTaskProcess, toDoListRemove,
  toRunListRemove, runningKillTaskListProcess }
